Ext.define('appmod.view.knowledge.category.fileformat.Form', {
    extend: 'Ext.form.Panel',
    alias: [
		'widget.knowledge.category.fileformat.form',
		'widget.knowledge-category-fileformat-form'
	],
    bodyPadding: 10,
	
    initComponent: function() {
      var me = this;

      Ext.applyIf(me, {
	  	    fieldDefaults: {
            	labelWidth: 80
        	},
            items: [
                {
                    xtype: 'textfield',
                    name: 'name',
                    fieldLabel: '格式名称',
					anchor: '95%',
					allowBlank:false
                },
                {
                    xtype: 'textarea',
                    name: 'supportSurfix',
                    anchor: '95%',
					fieldLabel: '支持后缀名'
                },
                {
                    xtype: 'hiddenfield',
                    name: 'id',
                    fieldLabel: 'id'
                }					
            ]			
        });
        me.callParent(arguments);
    }
});